var chestObject = {
    createChest: function(chest, items) {
        this[chest] = items;
    },
    deleteChest: function(chest) {
        delete this[chest];   
    }
};
chestObject.createChest("Kisten",["musik", "google", "hej"]);   //creates chest

console.log(chestObject.Kisten);    //logs objects

chestObject.deleteChest("Kisten");  //deletes chest

console.log(chestObject.Kisten);    //logs chest